package com.ruoyi.system.domain.process;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分卷对象 process_shunt
 * 
 * @author ljx
 * @date 2020-07-13
 */
public class ProcessShunt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;
    //合并材料编号
    @Excel(name = "并卷编号")
    private String ribbonNumber;
    //原膜编号
    @Excel(name = "原膜编号")
    private String number;

    /** 镀铝面(1内,2外,3内+外) */
    private Integer surface;
    @Excel(name = "镀铝面")
    private String surfaceName;

    /** 镀铝重量 */
    @Excel(name = "镀铝重量")
    private String aluminizedWeigt;

    /** 镀铝单位 */
    @Excel(name = "镀铝单位")
    private String aluminizedUnit;

    /** 质量文字反馈 */
    @Excel(name = "质量文字反馈")
    private String qualityState;

    /** 质量图片反馈 */
//    @Excel(name = "质量图片反馈")
    private String qualityImg;

    /** 质量视频反馈 */
//    @Excel(name = "质量视频反馈")
    private String qualityVideo;

    /** 操作起始时间 */
    @Excel(name = "操作起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 操作结束时间 */
    @Excel(name = "操作结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 耗时 */
    @Excel(name = "耗时")
    private Long consumeTime;

    /** 操作设备 */
    @Excel(name = "操作设备")
    private String operatingEquipment;

    /** 操作班次 */
    @Excel(name = "操作班次")
    private String operatingNumber;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;
    /** 分卷日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "分卷日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ribbonTime;

    //合并材料编号（并卷id）
    private Long ribbonId;
    //原膜编号（加工库存id）
    private Long inventoryId;

    private String factoryName;
    private String materialsName;
    private String color;
    private String mDate;
    private Integer status;

    /**
     * 可编辑和不可编辑标识
     */
    private Integer sign;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSign() {
        return sign;
    }

    public void setSign(Integer sign) {
        this.sign = sign;
    }

    public String getSurfaceName() {
        return surfaceName;
    }

    public void setSurfaceName(String surfaceName) {
        this.surfaceName = surfaceName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getMaterialsName() {
        return materialsName;
    }

    public void setMaterialsName(String materialsName) {
        this.materialsName = materialsName;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getmDate() {
        return mDate;
    }

    public void setmDate(String mDate) {
        this.mDate = mDate;
    }

    public String getRibbonNumber() {
        return ribbonNumber;
    }

    public void setRibbonNumber(String ribbonNumber) {
        this.ribbonNumber = ribbonNumber;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Long getRibbonId() {
        return ribbonId;
    }

    public void setRibbonId(Long ribbonId) {
        this.ribbonId = ribbonId;
    }

    public Long getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(Long inventoryId) {
        this.inventoryId = inventoryId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSurface(Integer surface) 
    {
        this.surface = surface;
    }

    public Integer getSurface() 
    {
        return surface;
    }
    public void setAluminizedWeigt(String aluminizedWeigt) 
    {
        this.aluminizedWeigt = aluminizedWeigt;
    }

    public String getAluminizedWeigt() 
    {
        return aluminizedWeigt;
    }
    public void setAluminizedUnit(String aluminizedUnit) 
    {
        this.aluminizedUnit = aluminizedUnit;
    }

    public String getAluminizedUnit() 
    {
        return aluminizedUnit;
    }
    public void setQualityState(String qualityState) 
    {
        this.qualityState = qualityState;
    }

    public String getQualityState() 
    {
        return qualityState;
    }
    public void setQualityImg(String qualityImg) 
    {
        this.qualityImg = qualityImg;
    }

    public String getQualityImg() 
    {
        return qualityImg;
    }
    public void setQualityVideo(String qualityVideo) 
    {
        this.qualityVideo = qualityVideo;
    }

    public String getQualityVideo() 
    {
        return qualityVideo;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setConsumeTime(Long consumeTime) 
    {
        this.consumeTime = consumeTime;
    }

    public Long getConsumeTime() 
    {
        return consumeTime;
    }
    public void setOperatingEquipment(String operatingEquipment) 
    {
        this.operatingEquipment = operatingEquipment;
    }

    public String getOperatingEquipment() 
    {
        return operatingEquipment;
    }
    public void setOperatingNumber(String operatingNumber) 
    {
        this.operatingNumber = operatingNumber;
    }

    public String getOperatingNumber() 
    {
        return operatingNumber;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setRibbonTime(Date ribbonTime) 
    {
        this.ribbonTime = ribbonTime;
    }

    public Date getRibbonTime() 
    {
        return ribbonTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("surface", getSurface())
            .append("aluminizedWeigt", getAluminizedWeigt())
            .append("aluminizedUnit", getAluminizedUnit())
            .append("qualityState", getQualityState())
            .append("qualityImg", getQualityImg())
            .append("qualityVideo", getQualityVideo())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("consumeTime", getConsumeTime())
            .append("operatingEquipment", getOperatingEquipment())
            .append("operatingNumber", getOperatingNumber())
            .append("operator", getOperator())
            .append("ribbonTime", getRibbonTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
